//
// Created by 33145 on 2023/1/12.
//

#include "../sylar/sylar.h"
#include <assert.h>

sylar::Logger::ptr g_logger = SYLAR_LOG_NAME("root");

void test_assert() {
  SYLAR_LOG_INFO(g_logger) << std::endl << sylar::BackTraceToString(10);
  std::cout << "=========================\n";
  SYLAR_ASSERT(false);
}

void fun2() {
  test_assert();
}

void fun1() {
  fun2();
}

int main(int argc, char** argv) {
  fun1();
  return 0;
}